Editing : Edit Modes and Tools : Time Compression/ Expansion Trim Tool

Time Compression/ Expansion Trim Tool
For more information, see the following topics:
The Time Compression/Expansion Trim tool (TCE Trim) is a convenient tool for matching an audio clip to the length of another clip, a tempo grid, a video scene, or to practically any other reference point you want.
 
*
You can match an Edit selection to the length of a Timeline selection by selecting Edit > TCE Edit to Timeline Selection command (see TCE (Time Compression and Expansion) Edit To Timeline Selection.